namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class umpp_task_order
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [Required]
        [StringLength(50)]
        public string CODE { get; set; }

        [StringLength(50)]
        public string OP_CODE { get; set; }

        [StringLength(50)]
        public string WORK_ORDER_GID { get; set; }

        public DateTime? BEGIN_TIME { get; set; }

        public DateTime? END_TIME { get; set; }

        [StringLength(50)]
        public string ORDER_GID { get; set; }

        [StringLength(50)]
        public string SOURCE_TYPE { get; set; }

        [StringLength(50)]
        public string PRODU_CODE { get; set; }

        [StringLength(100)]
        public string PRODU_NAME { get; set; }

        public int? PRODU_TYPE { get; set; }

        public int? TYPE { get; set; }

        public int? STATE { get; set; }

        public int? TASK_STATE { get; set; }

        public int? PRO_STATE { get; set; }

        [StringLength(50)]
        public string SPLIT_ID { get; set; }

        public int? SPLIT_QTY { get; set; }

        public int? SEQ { get; set; }

        [StringLength(50)]
        public string ROUTE_GID { get; set; }

        [StringLength(50)]
        public string GROUP_CODE { get; set; }

        [StringLength(50)]
        public string EQUIP_CODE { get; set; }

        [StringLength(50)]
        public string EMPLOYEE_CODE { get; set; }

        [StringLength(50)]
        public string EMPLOYEE_GID { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }

        [StringLength(50)]
        public string OP_GID { get; set; }

        [StringLength(50)]
        public string GROUP_GID { get; set; }

        [StringLength(50)]
        public string EQUIP_GID { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        [StringLength(50)]
        public string WORK_CELL_GID { get; set; }

        public int? CAN_DISPATCH_QTY { get; set; }

        public int? QTY { get; set; }

        [Column(TypeName = "timestamp")]
        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        [MaxLength(8)]
        public byte[] MARK_TIME { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        public DateTime CREATE_DATE { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        public DateTime? MODIFY_DATE { get; set; }

        public decimal IS_ACTIVE { get; set; }

        public decimal IS_DELETE { get; set; }

        [StringLength(50)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }

        public int? OP_SEQ { get; set; }

        public int? IF_REFORM { get; set; }
    }
}
